<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<link href="static/css/admin/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="static/js/common.js"></script>
<script type="text/javascript" src="static/js/jquery.js"></script>
</head>
<body>
<div class="colorarea01">
<div class="search clearfix">
	<div class="searchL">
		<ul class="menulist">
			<li><a href="<{$adminpage}>?m=member&a=add" class="add">添加会员</a></li>
		</ul>
	</div>
	<div class="searchR">
		<form action="<{$adminpage}>" method="get" name="form2">
		<table cellspacing="0" cellpadding="0" class="toptable">
			<tr>
				<td>
					<span>
						<select name="isdealer">
							<{$select_isdealer}>
						</select>
					</span>
					<input type="text" name="keywords" id="searchkey" value="" class="inp01"> &nbsp;<input type="submit" name="filtersubmit" value="查询" class="combutton02"><input type="hidden" name="m" value="member">
					<input type="hidden" name="a" value="list">
				</td>
			</tr>
		</table>
		</form>
	</div>
</div>
<form action="<{$adminpage}>?m=member" method="post" name="form">
<table cellspacing="0" cellpadding="0" width="100%"  class="listtable">
<tr><th>选择</th><th>ID</th><th>用户名</th><th>邮箱</th><th>联系人</th><{if $setting.version==3}><th>城市</th><{/if}><th>会员类型</th><th>状态</th><th>注册时间</th><th>操作</th></tr>
<{foreach from=$userlist item=user}>
<tr>
<td width="30" align="center"><input type="checkbox" name="bulkid[]" value="<{$user.id}>"></td>
<td width="30" align="center"><{$user.id}></td>
<td align="center"><{$user.username}> <{if $user.company<>'' and $user.isdealer==2}><span class="gray01">[ <a href="<{$weburl}>/index.php?m=shop&id=<{$user.id}>" target="_blank"><{$user.company}></a> ]</span><{/if}> <{if $user.isrecom==1}><span class="red">推荐</span><{/if}> <{if $user.ishot==1}><span class="red">热门</span><{/if}></td>
<td align="center"><{$user.email}></td>
<td align="center"><{$user.nicname}></td>
<{if $setting.version==3}>
<td align="center"><{$user.province}>-<{$user.city}></td>
<{/if}>
<td align="center"><{if $user.isdealer==2}>商家<{else}>个人<{/if}></td>
<td align="center"><{if $user.isdealer==2}><{if $user.ischeck==1}>已通过审核<{else}><span class="orange01">未通过审核</span><{/if}><{else}>--<{/if}></td>
<td align="center"><{$user.regtime}></td>
<td width="150" align="center" class="rightmenu"><a href="<{$adminpage}>?m=member&a=edit&id=<{$user.id}>&page=<{$page}>">编辑</a> | <a href="javascript:if(confirm('确实要删除吗?'))location='<{$adminpage}>?m=member&a=del&id=<{$user.id}>&page=<{$page}>'">删除</a> | <a href="<{$adminpage}>?m=member&a=edit&id=<{$user.id}>">审核</a>
</td>
</tr>
<{/foreach}>
<tr>
    <td colspan="11" class="buttontd" style="text-align:left;">
	<a href="javascript:javascript:selectAll();" title="请选择后操作">全选</a>
    <a href="javascript:submitForm('<{$adminpage}>?m=member&a=bulkdel&page=<{$page}>','删除');" title="请选择后操作">删除</a>
	</td>
</tr>
</table>
</form>
<div class="listpage"><{$button_basic}><{$button_select}></div>
</div>
</body>
</html>